//
//  GroupInfoModel.m
//  NetworkDemo
//
//  Created by InitialC on 2017/5/28.
//  Copyright © 2016年 InitialC. All rights reserved.
//

#import "GroupInfoModel.h"

@implementation GroupInfoModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"count" : @"affiliations_count",
             @"groupDescription" : @"description",
             @"groupID" : @"id",
             @"maxCount" : @"maxusers",
             @"groupName" : @"name",
             @"userArray" :@"affiliations"
             };
}
+(NSDictionary*)modelContainerPropertyGenericClass
{
   return  @{
      @"userArray" :[UserInfoModel class]
      };
   
}
@end

@implementation UserInfoModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"imageURL" : @"headimg",
             @"isOnline" : @"isonline",
             @"userID" : @"owner",
             @"realName" : @"realname"
             };
}
@end
